Move from OSSRH to maven central publishing#924
Merged
Conversation
I hope this works out though.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR migrates from the legacy OSSRH/Sonatype deployment approach to the new Maven Central Publishing system, preparing for the OSSRH sunset in March 2025. The changes update the Maven build configuration and GitHub Actions workflow to use the modern central-publishing-maven-plugin.
- Replaced legacy OSSRH deployment configuration with central-publishing-maven-plugin
- Updated Maven plugin versions (maven-source-plugin to 3.3.1, maven-javadoc-plugin to 3.8.0)
- Modified GitHub Actions workflow to use new Maven Central credentials and GPG configuration
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| uber-minimal-pom.xml | Removed legacy OSSRH distributionManagement configuration |
| pom.xml | Updated plugin versions and replaced OSSRH deployment with central-publishing-maven-plugin |
| .github/workflows/release.yml | Updated workflow to use new Maven Central credentials and added GPG configuration |
samikshya-db
approved these changes
Aug 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Moved the jar publishing action from the legacy OSSRH/Sonatype deployment approach to the new Maven Central Publishing and updated GitHub Actions workflow.
More context - https://central.sonatype.org/news/20250326_ossrh_sunset/
Plugin and Dependency Updates
Upgraded
maven-source-pluginto version 3.3.1 (from 3.3.0).Upgraded
maven-javadoc-pluginto version 3.8.0 (from 3.6.0).Testing
Released the v1.0.8-oss using this action
Additional Notes to the Reviewer
NA
NO_CHANGELOG=true